package com.ktwlsoft.archivemanage.payload.unitArchive.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@ApiModel("室藏档案比较")
@Getter
@Setter
public class UnitArchivesCompare {

    /**室藏档案主键**/
    @ApiModelProperty("室藏档案主键")
    @NotNull
    private Long archiveId;

    /**档案类型**/
    @ApiModelProperty("档案类型")
    @Size(max = 30, message = "档案类型参数超长")
    private String archiveType;

    /**10年**/
    @ApiModelProperty("10年")
    private Integer tenYear;

    /**30年**/
    @ApiModelProperty("30年")
    private Integer thirtyYear;

    /**永久**/
    @ApiModelProperty("永久")
    private Integer forever;

}
